package com.example.demo.dao;

import com.example.demo.model.Announcement;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AnnouncementDao {

    @Select("select * from announcement where clazz=#{clazz}")
    List<Announcement> findAnnouncement(String clazz);
}
